package com.group3.pojo.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.group3.pojo.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName StudentWork
 * @Author jt-sinlio
 * @Time 2021/6/19 9:55
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("学生作业返回类")
public class StudentWorkResult extends Page {
    @ApiModelProperty(value = "作业id")
    private int WorkId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "作业下发时间")
    private Date releaseTime;

    @ApiModelProperty(value = "课程名")
    private String lessonName;

    @ApiModelProperty(value = "作业主题")
    private String workTheme;

    @ApiModelProperty(value = "作业类型")
    private int type;

    @ApiModelProperty(value = "实训教师姓名")
    private List<String> teacherNameS;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划完成时间")
    private Date completionTime;

    @ApiModelProperty(value = "小组")
    private List<String> groups;

}





















